You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Congratulations! You're submitting your assignment!
Comprehension Questions
Question
Answer
Describe in your own words what the Model is doing in Rails
The model manages the database
Describe in your own words what the Controller is doing in Rails
It coordinates the interactions between the view and the models
Describe in your own words what the View is doing in Rails
Shares data with the browser and the controller
Describe an edge-case controller test you wrote
One example is to test that the test saves a new task in the create task page, and what happens if it doesn't save.
What is the purpose of using strong params? (i.e. the params method in the controller)
It's the rails way of getting saved variables to our controller actions.
How are Rails migrations related to Rails models?
Migrations update our database, the database updates rely on the model to specify the layout, so migrations are streamlined by the model.
Describe one area of Rails that are still unclear on
I think everything in rails is still very much raw and writing code feels like stepping on egg shells, every step breaks something, it will take more practice to be sure about more complex actions. the toggle complete/not complete action for example took a whole day for me to figure out! looking forward to becoming more confidant writing actions in rails.
yes/no, and optionally any details/lines of code to reference
At least 6 commits with meaningful commit messages
✔️
Routes follow RESTful conventions
✔️
Uses named routes (like _path)
✔️
Creates Models and migrations
✔️
Creates styled views
✔️
Handles errors like nonexistant tasks
✔️
Uses form_with to render forms in Rails
✔️
Functional Requirements/Manual Testing
Functional Requirement
yes/no
Successfully handles index & show
✔️
index & show tests pass
✔️
Successfully handles: New, Create
✔️
New, Create tests pass
✔️
Successfully handles: Edit, Update
✔️
Successfully handles: Destroy, Task Complete
✔️
Overall Feedback
Overall Feedback
Criteria
yes/no
Green (Meets/Exceeds Standards)
5+ in Code Review && 5+ in Functional Requirements
Code Style Bonus Awards
Was the code particularly impressive in code style for any of these reasons (or more...?)
Quality
Yes?
Elegant/Clever
✅
Descriptive/Readable
✅
Concise
✅
Logical/Organized
✅
Summary
Nicely done, you hit all the learning goals here. I like the styling you added here. Well done.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task List
Congratulations! You're submitting your assignment!
Comprehension Questions